package command

import (
	"context"

	"github.com/gogf/gf/v2/frame/g"
)

type CMain struct {
	g.Meta `name:"main"`
}

// 系统

func (r *CMain) Service(ctx context.Context, in cMainServiceInput) (out *cMainServiceOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}
func (r *CMain) Batch(ctx context.Context, in cMainBatchInput) (out *cMainBatchOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}

// 中台

func (r *CMain) Passport(ctx context.Context, in cMainPassportInput) (out *cMainPassportOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}
func (r *CMain) Payment(ctx context.Context, in cMainPaymentInput) (out *cMainPaymentOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}
func (r *CMain) Vip(ctx context.Context, in cMainVipInput) (out *cMainVipOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}
func (r *CMain) Task(ctx context.Context, in cMainTaskInput) (out *cMainTaskOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}

func (r *CMain) Apps(ctx context.Context, in cMainAppsInput) (out *cMainAppsOutput, err error) {
	switch in.Type {
	case "http":
	case "wse":
	case "websocket":
	case "grpc":
	case "graphql":
	case "mqtt":
	}

	return
}
